//
//  ProtocolVC.m
//  xychain_DM_iOS
//
//  Created by Jpwang on 2018/6/1.
//  Copyright © 2018年 Jpwang. All rights reserved.
//

#import "ProtocolVC.h"

@interface ProtocolVC ()

@property(weak, nonatomic)IBOutlet UIButton *backBt;

@end

@implementation ProtocolVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self initView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)initView {
    [[self.backBt rac_signalForControlEvents:UIControlEventTouchUpInside] subscribeNext:^(id x) {
        [self.navigationController popViewControllerAnimated:YES];
    }];
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleLightContent;
}

@end
